Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController A

Total Complexity 52
Dependencies 6
Dependents 13
Total lines 529
Lines of code 277
Logical lines of code 103
Comment lines 140
Methods 22
Properties 5

Methods 22

Method Rating Maintainability Complexity Lines of code
get_settings()
A
35 11 99
add_initiate_regeneration_entry_to_tools_array()
S
49 3 34
get_data_store_instance()
S
62 4 12
process_options_updated()
S
63 4 11
create_custom_orders_tables()
S
63 4 10
process_pre_update_option()
S
70 4 6
process_sync_finished()
S
64 3 11
process_updated_option()
S
73 3 5
register_post_type_for_order_placeholders()
S
54 1 24
delete_custom_orders_tables()
S
69 2 7
get_settings_sections()
S
68 2 7
init_hooks()
S
60 1 12
get_refunds_data_store()
S
79 1 3
get_orders_data_store()
S
79 1 3
custom_orders_table_usage_is_enabled()
S
79 1 3
get_valid_transaction_isolation_levels()
S
69 1 8
hide_feature()
S
81 1 3
show_feature()
S
81 1 3
is_feature_visible()
S
82 1 3
auto_flip_authoritative_table_enabled()
S
79 1 3
init()
S
71 1 6
__construct()
S
77 1 4